```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>微服务与分布式系统架构解析 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
        }
        .section-title {
            position: relative;
            padding-bottom: 1rem;
        }
        .section-title:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 60px;
            height: 3px;
            background: #667eea;
        }
        .feature-card {
            transition: all 0.3s ease;
            border-radius: 12px;
            overflow: hidden;
        }
        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        .diagram-container {
            background: rgba(255, 255, 255, 0.9);
            border-radius: 12px;
            padding: 2rem;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        }
        .footer-links a:hover {
            color: #a0aec0;
        }
        .highlight {
            background-color: rgba(102, 126, 234, 0.1);
            border-left: 4px solid #667eea;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <section class="hero-gradient text-white py-20 md:py-32 px-4 md:px-0">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0">
                    <h1 class="text-4xl md:text-5xl font-bold mb-6 leading-tight">
                        微服务与分布式系统<br>架构解析
                    </h1>
                    <p class="text-xl opacity-90 mb-8">
                        现代软件架构中的两大核心概念解析与对比
                    </p>
                    <div class="flex space-x-4">
                        <a href="#microservices" class="bg-white text-indigo-700 px-6 py-3 rounded-lg font-medium hover:bg-opacity-90 transition duration-300">
                            了解微服务
                        </a>
                        <a href="#distributed" class="bg-transparent border-2 border-white text-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:text-indigo-700 transition duration-300">
                            分布式系统
                        </a>
                    </div>
                </div>
                <div class="md:w-1/2 flex justify-center">
                    <div class="relative w-full max-w-md">
                        <div class="absolute -top-6 -left-6 w-32 h-32 bg-purple-200 rounded-full mix-blend-multiply filter blur-xl opacity-70"></div>
                        <div class="absolute -bottom-8 -right-8 w-32 h-32 bg-indigo-200 rounded-full mix-blend-multiply filter blur-xl opacity-70"></div>
                        <div class="relative bg-white rounded-xl shadow-xl p-6">
                            <div class="mermaid">
                                graph TD
                                    A[用户] -->|请求| B[API Gateway]
                                    B -->|路由| C[用户服务]
                                    B -->|路由| D[订单服务]
                                    B -->|路由| E[支付服务]
                                    C -->|存储| F[用户数据库]
                                    D -->|存储| G[订单数据库]
                                    E -->|存储| H[支付数据库]
                                    C -->|消息| I[消息队列]
                                    D -->|消息| I
                                    E -->|消息| I
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Introduction Section -->
    <section class="py-16 bg-white">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="text-center mb-16">
                <h2 class="text-3xl font-bold mb-4">现代软件架构的核心概念</h2>
                <p class="text-gray-600 max-w-2xl mx-auto">
                    微服务和分布式系统是现代软件开发中两个关键架构模式，它们各自解决了不同层面的问题，但又相互关联。理解它们的区别和联系对于构建可靠、可扩展的系统至关重要。
                </p>
            </div>
            
            <div class="grid md:grid-cols-2 gap-12 mb-16">
                <div class="p-8 rounded-xl bg-gray-50 border border-gray-200">
                    <div class="flex items-center mb-6">
                        <div class="bg-indigo-100 p-3 rounded-full mr-4">
                            <i class="fas fa-cubes text-indigo-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-bold">微服务架构</h3>
                    </div>
                    <p class="text-gray-600 mb-4">
                        一种将单一应用程序划分为一组小型服务的架构风格，每个服务运行在自己的进程中，服务间通过轻量级机制通信。
                    </p>
                    <ul class="space-y-2">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>专注于业务功能解耦</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>独立部署与扩展</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>技术多样性支持</span>
                        </li>
                    </ul>
                </div>
                
                <div class="p-8 rounded-xl bg-gray-50 border border-gray-200">
                    <div class="flex items-center mb-6">
                        <div class="bg-purple-100 p-3 rounded-full mr-4">
                            <i class="fas fa-network-wired text-purple-600 text-xl"></i>
                        </div>
                        <h3 class="text-xl font-bold">分布式系统</h3>
                    </div>
                    <p class="text-gray-600 mb-4">
                        由多台计算机组成的系统，这些计算机通过网络通信来协调它们的行为，共同完成一项任务。
                    </p>
                    <ul class="space-y-2">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>资源分布与共享</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>高可用性与容错</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span>水平扩展能力</span>
                        </li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <!-- Microservices Section -->
    <section id="microservices" class="py-20 bg-gray-50">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="mb-16">
                <h2 class="text-3xl font-bold mb-4 section-title">微服务架构</h2>
                <p class="text-gray-600 max-w-3xl">
                    微服务是一种软件架构模式，将一个大型应用程序拆分成一组小的、独立的服务。每个服务都是围绕特定业务功能设计的，通常是独立开发、部署和扩展的。
                </p>
            </div>
            
            <div class="mb-16">
                <img src="https://cdn.nlark.com/yuque/0/2021/png/21449790/1636938979482-2cb6b886-8840-48ab-950f-a0460d04c1d7.png" 
                     alt="微服务架构示意图" 
                     class="w-full rounded-xl shadow-md hover:shadow-lg transition duration-300">
            </div>
            
            <div class="grid md:grid-cols-2 gap-12 mb-12">
                <div>
                    <h3 class="text-2xl font-bold mb-6">核心特点</h3>
                    <div class="space-y-6">
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-indigo-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-project-diagram text-indigo-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">服务独立性</h4>
                                    <p class="text-gray-600">每个微服务实现独立的业务功能，可以独立开发、部署和扩展。</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-purple-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-code text-purple-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">技术多样性</h4>
                                    <p class="text-gray-600">不同的微服务可以使用不同的编程语言、框架和技术栈。</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-blue-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-database text-blue-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">服务自治</h4>
                                    <p class="text-gray-600">微服务拥有自己的数据存储和数据模型，减少对共享数据库的依赖。</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-2xl font-bold mb-6">优势与挑战</h3>
                    <div class="space-y-6">
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-green-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-thumbs-up text-green-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">主要优势</h4>
                                    <ul class="list-disc pl-5 text-gray-600 space-y-2">
                                        <li>模块化开发，团队可以独立工作</li>
                                        <li>技术栈灵活性高</li>
                                        <li>故障隔离性强</li>
                                        <li>更快的部署周期</li>
                                        <li>更好的可扩展性</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-yellow-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-exclamation-triangle text-yellow-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">面临的挑战</h4>
                                    <ul class="list-disc pl-5 text-gray-600 space-y-2">
                                        <li>分布式系统复杂性</li>
                                        <li>数据一致性管理</li>
                                        <li>服务间通信开销</li>
                                        <li>测试和监控难度增加</li>
                                        <li>部署复杂性</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="bg-indigo-50 rounded-xl p-8 highlight">
                <h3 class="text-2xl font-bold mb-4">典型示例：电商平台微服务架构</h3>
                <p class="mb-6">
                    一个电商应用可以拆分为用户服务、订单服务、支付服务、库存服务等多个微服务，每个微服务专注于单一的业务逻辑：
                </p>
                <div class="grid md:grid-cols-4 gap-4">
                    <div class="bg-white p-4 rounded-lg text-center shadow-sm">
                        <div class="bg-indigo-100 w-12 h-12 mx-auto rounded-full flex items-center justify-center mb-3">
                            <i class="fas fa-user text-indigo-600"></i>
                        </div>
                        <h4 class="font-bold">用户服务</h4>
                        <p class="text-sm text-gray-600">用户注册、登录、资料管理</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center shadow-sm">
                        <div class="bg-purple-100 w-12 h-12 mx-auto rounded-full flex items-center justify-center mb-3">
                            <i class="fas fa-shopping-cart text-purple-600"></i>
                        </div>
                        <h4 class="font-bold">订单服务</h4>
                        <p class="text-sm text-gray-600">订单创建、查询、状态管理</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center shadow-sm">
                        <div class="bg-blue-100 w-12 h-12 mx-auto rounded-full flex items-center justify-center mb-3">
                            <i class="fas fa-credit-card text-blue-600"></i>
                        </div>
                        <h4 class="font-bold">支付服务</h4>
                        <p class="text-sm text-gray-600">支付处理、交易记录</p>
                    </div>
                    <div class="bg-white p-4 rounded-lg text-center shadow-sm">
                        <div class="bg-green-100 w-12 h-12 mx-auto rounded-full flex items-center justify-center mb-3">
                            <i class="fas fa-boxes text-green-600"></i>
                        </div>
                        <h4 class="font-bold">库存服务</h4>
                        <p class="text-sm text-gray-600">商品库存管理</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Distributed Systems Section -->
    <section id="distributed" class="py-20 bg-white">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="mb-16">
                <h2 class="text-3xl font-bold mb-4 section-title">分布式系统</h2>
                <p class="text-gray-600 max-w-3xl">
                    分布式系统是一种将计算资源（如计算能力、存储、网络）分布在多个计算机节点上的系统。系统的组件可以分布在物理上或逻辑上分散的计算机上，这些计算机通过网络进行通信和协作。
                </p>
            </div>
            
            <div class="mb-16">
                <img src="https://cdn.nlark.com/yuque/0/2021/png/21449790/1636938968995-1e19ba42-0f81-4cb2-a02d-b1c5ac2ecd1f.png" 
                     alt="分布式系统示意图" 
                     class="w-full rounded-xl shadow-md hover:shadow-lg transition duration-300">
            </div>
            
            <div class="grid md:grid-cols-2 gap-12 mb-12">
                <div>
                    <h3 class="text-2xl font-bold mb-6">关键特性</h3>
                    <div class="space-y-6">
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-blue-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-server text-blue-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">资源分布</h4>
                                    <p class="text-gray-600">计算和存储资源分布在多个节点上，可能位于不同地理位置。</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-purple-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-wifi text-purple-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">网络通信</h4>
                                    <p class="text-gray-600">节点之间通过网络进行通信，使用协议和中间件处理通信问题。</p>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-green-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-shield-alt text-green-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">容错性</h4>
                                    <p class="text-gray-600">设计为高可用性和容错能力，应对节点失败或网络问题。</p>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <div>
                    <h3 class="text-2xl font-bold mb-6">技术与挑战</h3>
                    <div class="space-y-6">
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-indigo-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-cogs text-indigo-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">核心技术</h4>
                                    <ul class="list-disc pl-5 text-gray-600 space-y-2">
                                        <li>分布式一致性算法</li>
                                        <li>共识协议（如Paxos, Raft）</li>
                                        <li>分布式事务管理</li>
                                        <li>负载均衡</li>
                                        <li>服务发现</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                        
                        <div class="feature-card bg-white p-6 shadow-sm hover:shadow-md">
                            <div class="flex items-start">
                                <div class="bg-red-100 p-2 rounded-lg mr-4">
                                    <i class="fas fa-bug text-red-600"></i>
                                </div>
                                <div>
                                    <h4 class="font-bold mb-2">主要挑战</h4>
                                    <ul class="list-disc pl-5 text-gray-600 space-y-2">
                                        <li>部分失败问题</li>
                                        <li>网络延迟和分区</li>
                                        <li>时钟同步</li>
                                        <li>并发控制</li>
                                        <li>安全性和隐私</li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div class="bg-blue-50 rounded-xl p-8 highlight">
                <h3 class="text-2xl font-bold mb-4">典型分布式系统示例</h3>
                <div class="grid md:grid-cols-2 gap-8">
                    <div>
                        <h4 class="font-bold text-lg mb-3 flex items-center">
                            <span class="bg-blue-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-database text-blue-600"></i>
                            </span>
                            分布式数据库
                        </h4>
                        <p class="text-gray-600">
                            如Cassandra、MongoDB，这些数据库将数据分布在多个节点上，提供高可用性和水平扩展能力。它们采用分片和复制技术来实现数据的分布式存储和访问。
                        </p>
                    </div>
                    <div>
                        <h4 class="font-bold text-lg mb-3 flex items-center">
                            <span class="bg-purple-100 p-2 rounded-lg mr-3">
                                <i class="fas fa-cloud text-purple-600"></i>
                            </span>
                            云计算平台
                        </h4>
                        <p class="text-gray-600">
                            如AWS、Google Cloud，这些平台将计算、存储和网络资源分布在多个数据中心和节点上，提供弹性资源管理和高可用性服务，支持各种分布式应用的运行。
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Comparison Section -->
    <section class="py-20 bg-gray-50">
        <div class="container mx-auto max-w-5xl px-4">
            <div class="mb-16 text-center">
                <h2 class="text-3xl font-bold mb-4">微服务与分布式系统的关系</h2>
                <p class="text-gray-600 max-w-3xl mx-auto">
                    虽然微服务和分布式系统有交集，但它们是不同层次的概念，理解它们的区别和联系对于架构设计至关重要。
                </p>
            </div>
            
            <div class="mb-16">
                <div class="diagram-container">
                    <div class="mermaid">
                        graph LR
                            A[微服务] -->|运行在| B[分布式系统]
                            B -->|实现方式之一| C[微服务架构]
                            D[单体应用] -->|也可以运行在| B
                    </div>
                </div>
            </div>
            
            <div class="grid md:grid-cols-2 gap-8">
                <div class="bg-white p-8 rounded-xl shadow-sm">
                    <h3 class="text-2xl font-bold mb-6 text-indigo-600">微服务是分布式系统的一种实现方式</h3>
                    <p class="mb-4">
                        微服务架构通常需要在分布式系统中实现，因为每个微服务可能部署在不同的节点上，服务之间通过网络通信。微服务强调的是架构风格和组织结构。
                    </p>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-indigo-600 text-xs"></i>
                            </div>
                            <span>关注业务功能的解耦和服务自治</span>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-indigo-600 text-xs"></i>
                            </div>
                            <span>强调独立部署和扩展能力</span>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-indigo-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-indigo-600 text-xs"></i>
                            </div>
                            <span>通常采用轻量级通信协议</span>
                        </li>
                    </ul>
                </div>
                
                <div class="bg-white p-8 rounded-xl shadow-sm">
                    <h3 class="text-2xl font-bold mb-6 text-blue-600">分布式系统并不一定是微服务架构</h3>
                    <p class="mb-4">
                        分布式系统可以是传统的单体应用程序分布在多个节点上，也可以是数据存储系统或计算平台，未必符合微服务的设计原则。分布式系统强调的是计算资源的分布和协作。
                    </p>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <div class="bg-blue-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-blue-600 text-xs"></i>
                            </div>
                            <span>关注资源共享和系统可靠性</span>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-blue-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-blue-600 text-xs"></i>
                            </div>
                            <span>强调一致性和容错能力</span>
                        </li>
                        <li class="flex items-start">
                            <div class="bg-blue-100 p-1 rounded-full mr-3 mt-1">
                                <i class="fas fa-check text-blue-600 text-xs"></i>
                            </div>
                            <span>可能采用复杂的协调协议</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="mt-12 bg-indigo-50 rounded-xl p-8">
                <h3 class="text-2xl font-bold mb-4 text-center">何时选择微服务架构？</h3>
                <div class="grid md:grid-cols-3 gap-6">
                    <div class="bg-white p-6 rounded-lg text-center">
                        <div class="bg-indigo-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-4">
                            <i class="fas fa-expand-arrows-alt text-indigo-600 text-xl"></i>
                        </div>
                        <h4 class="font-bold mb-2">需要快速扩展</h4>
                        <p class="text-gray-600 text-sm">当系统需要快速扩展特定功能而不影响整体时</p>
                    </div>
                    <div class="bg-white p-6 rounded-lg text-center">
                        <div class="bg-purple-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-4">
                            <i class="fas fa-users text-purple-600 text-xl"></i>
                        </div>
                        <h4 class="font-bold mb-2">多团队协作</h4>
                        <p class="text-gray-600 text-sm">当多个团队需要独立开发和部署不同功能时</p>
                    </div>
                    <div class="bg-white p-6 rounded-lg text-center">
                        <div class="bg-blue-100 w-16 h-16 mx-auto rounded-full flex items-center justify-center mb-4">
                            <i class="fas fa-random text-blue-600 text-xl"></i>
                        </div>
                        <h4 class="font-bold mb-2">技术多样性</h4>
                        <p class="text-gray-600 text-sm">当需要使用不同技术栈实现不同功能时</p>
                    </div>
                </div>
            </div>
            
            <div class="mt-12 text-center">
                <a href="https://www.yuque.com/jtostring/qiwsg9/msyqg40e5ik6nqvl?singleDoc" 
                   class="inline-flex items-center px-6 py-3 border border-indigo-600 text-indigo-600 rounded-lg hover:bg-indigo-600 hover:text-white transition duration-300">
                    <i class="fas fa-book-open mr-2"></i>
                    阅读更多关于微服务的内容
                </a>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12">
        <div class="container mx-auto px-4">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <p class="text-gray-400">探索技术的无限可能</p>
                </div>
                <div class="footer-links">
                    <a href="http://www.yuque.com/jtostring" 
                       class="hover:text-white transition duration-300">
                        <i class="fas fa-external-link-alt mr-2"></i>
                        http://www.yuque.com/jtostring
                    </a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-sm text-gray-500 text-center">
                © 2023 技术小馆. 所有文章和教程仅供学习参考.
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            }
        });
    </script>
</body>
</html>
```